package com.seadragon.app.ksr.model.shape;

import com.vividsolutions.jts.geom.Coordinate;

public class PolygonShape extends AbstractBoundingBoxShape {
	protected int numOfPoints;
	protected int numOfParts;
	protected Coordinate[] points;
	protected int[] parts;

	public PolygonShape() {
		shapeType = ShapeType.POLYGON;
	}

	public int getNumOfPoints() {
		return numOfPoints;
	}

	public void setNumOfPoints(int numOfPoints) {
		this.numOfPoints = numOfPoints;
	}

	public Coordinate[] getPoints() {
		return points;
	}

	public void setPoints(Coordinate[] points) {
		this.points = points;
	}

	@Override
	public int getNumOfParts() {
		return numOfParts;
	}

	public void setNumOfParts(int numOfParts) {
		this.numOfParts = numOfParts;
	}

	@Override
	public int[] getParts() {
		return parts;
	}

	public void setParts(int[] parts) {
		this.parts = parts;
	}
}
